<!--
 * @Author: Meow
 * @Date: 2019-09-26 16:40:02
 * @LastEditors: Meow
 * @LastEditTime: 2019-10-09 14:12:12
 * @Description: 服务资源管理
 -->
<template>
  <el-scrollbar :native="false" tag="section" class="el-scroll">
    <ResourcesManagementView
      :treeData="treeData"
      :tableData="tableData"
      :options="options"
      :input="input"
      :active="active"
    ></ResourcesManagementView>
  </el-scrollbar>
</template>
<script>
import ResourcesManagementView from "./ResourcesManagementView";
export default {
  name: "ResourcesManagementLogic",
  components: {
    ResourcesManagementView
  },
  data() {
    return {
      active: 0,
      input: "",
      value: "",
      // 树数据
      treeData: [
        {
          label: "数据集"
        },
        {
          label: "地图服务",
          children: [
            {
              label: "基础地理空间服务"
            },
            {
              label: "融合资源服务"
            }
          ]
        },
        {
          label: "视频资源服务",
          children: [
            {
              label: "视频点位"
            },
            {
              label: "视频AI服务"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        },
        {
          label: "工具服务",
          children: [
            {
              label: "空间算法服务"
            },
            {
              label: "云租户"
            }
          ]
        }
      ],
      defaultProps: {
        children: "children",
        label: "label"
      },
      options: [
        {
          value: "选项1",
          label: "-全部-"
        },
        {
          value: "选项2",
          label: "数据集"
        },
        {
          value: "选项3",
          label: "地图服务"
        }
      ],
      // 表格数据
      tableData: [
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-021",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-02",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-02",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-02",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        },
        {
          date: "2016-05-02",
          name: "2017年影像电子地图_鼓楼",
          address: "上海市普陀区金沙江路 1518 弄",
          type: "空间服务",
          mode: "快速融合",
          rule: "分权分域规则",
          desc: "用来"
        }
      ]
    };
  }
};
</script>
